package com.teamone.etl.admin.feign;

import com.baomidou.mybatisplus.extension.api.R;
import com.teamone.etl.admin.feign.fallback.SystemSettingWebServiceFallBackImpl;
import com.teamone.etl.dto.LoginClass;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 @author WangZhuoRan */
@FeignClient(value = "systemsettings",fallbackFactory = SystemSettingWebServiceFallBackImpl.class)
public interface SystemSettingWebService {

    /**
     * 用户登录
     *
     * @param loginClass 接收对象
     * @return true false
     */
    @PostMapping("/userform/loginUser")
    R loginUser(@RequestBody LoginClass loginClass);

}
